package com.fauks.study.hot.spring_schedule;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class ScheduledDemo {

    @Scheduled(cron = "0/2 * * * * ?")
    public void doSchedule() {
        System.out.println("Spring scheduled....");
    }
}
